package com.extra_archive.project.iisu.controller 
{
	import com.extra_archive.framework.core.mvc.controller.IMouseController;
	import com.extra_archive.framework.core.mvc.controller.IkeyboardController;
	import com.extra_archive.framework.core.mvc.model.IModel;

	/**
	 * @author vkimone
	 */
	public class BasicController implements IBasicController 
	{
		protected var _model : IModel;
		protected var _keyboardController : IkeyboardController;
		protected var _mouseController : IMouseController;

		public function BasicController(model : IModel)
		{
			_model = model;

			createKeyboardController();
			createMouseController();
		}

		//--------------------------------------------------------------------------
		//
		//    getter / setter
		//
		//--------------------------------------------------------------------------

		public function get keyboardController() : IkeyboardController 
		{
			return _keyboardController;
		}

		public function get mouseController() : IMouseController 
		{
			return _mouseController;
		} 

		//--------------------------------------------------------------------------
		//
		//    Public Methods
		//
		//--------------------------------------------------------------------------

		public function toString() : String
		{
			return "com.dstrict.project.softkinetic.controller.BasicController";
		}

		//--------------------------------------------------------------------------
		//
		//    Private Methods
		//
		//--------------------------------------------------------------------------

		protected function createKeyboardController() : void 
		{
			//TODO implement
		}

		protected function createMouseController() : void 
		{
			//TODO implement
		}
	}
}
